<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="keyword" content="">

    <title>基础文件 - BIM管理</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="__PUBLIC__/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style-responsive.css" rel="stylesheet" />
    <!-- new styles-->
    <link href="__PUBLIC__/css/xxxstyle.css" rel="stylesheet" />
    <link href="__PUBLIC__/css/simple.slide.css" rel="stylesheet"/>
      <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="__PUBLIC__/js/html5shiv.js"></script>
      <script src="__PUBLIC__/js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" class="">
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper site-min-height">
              <!-- page start-->
              <section class="panel">
                  <header class="panel-heading"><i class="icon-folder-open"></i>品牌列表
                      <span class="pull-right">
                      	  <button class="btn btn-success btn-xs" data-toggle="modal" href="#add_brand"><i class="icon-plus"></i>添加品牌</button>
                      </span>
                  </header>
                  <div class="panel-body borBottom">                                            
                    <div class="input-group searchLine">
                      <input type="text"  name="searchname" placeholder="搜索..." class="input-sm form-control" /> 
                      <span class="input-group-btn">
                        <button type="button" class="btn btn-sm btn-submit searchBtn" onclick="search();"><i class="icon-search"></i></button> 
                      </span>
                    </div>                          
                  </div>              
                 <div id="ajaxgover">
                 
                 </div>
              </section>
              <!-- page end-->
          </section>
          <!-- Modal 上传文件 -->
          <div class="modal fade" id="uploadFile" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
              <div class="modal-dialog bigmodal">
                  <div class="modal-content">
                      <div class="modal-header">
                          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                          <h4 class="modal-title">上传文件</h4>
                      </div>
                      <div class="modal-body">                
                          <div id="upload" class="BasicFileUploadBox"></div>                         
                      </div>
                      <div class="modal-footer">
                          <button class="btn btn-submit" type="button" onclick="out()">完成并关闭</button>
                      </div>
                  </div>
              </div>
          </div>
          <!-- modal -->
      </section>
      <!--main content end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="__PUBLIC__/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="__PUBLIC__/js/jquery.scrollTo.min.js"></script>
    <script src="__PUBLIC__/js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="__PUBLIC__/js/jquery.customSelect.min.js" ></script>
    
    <!--common script for all pages-->
    <script src="__PUBLIC__/js/common-scripts.js"></script>

    <!--new script for this page only-->
    <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>      
    <script type="text/javascript">
      $(document).ready(function(){
          ajaxgover();
      });
     
      // ajax 抓取页面
      function ajaxgover(page=1,name=''){
              $.ajax({
                  type : "POST",
                  url:'__URL__/ajaxbrand/p/'+page,
                  data : {name:name},
                  success: function(data){
                      $("#ajaxgover").html('');
                      $("#ajaxgover").append(data);
                  }
              });
      }
    
      //search
      function search(){
    	  var name = $("input[name='searchname']").val();
    	  ajaxgover(1,name);
      }
      
    </script>
  </body>
</html>
